﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace _1_Interfaces.Models.Tables.Cjw
{
    /// <summary>
    /// 病床订餐表
    ///</summary>
    [SugarTable("orderList")]
    public class OrderList
    {
        /// <summary>
        /// 订餐的唯一标识符 后面在评价中会用到 
        ///</summary>
         [SugarColumn(ColumnName="oderid" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Oderid { get; set; }
        /// <summary>
        /// 住院唯一标识符 
        ///</summary>
         [SugarColumn(ColumnName="inHospitaId"    )]
         public int? InHospitaId { get; set; }
        /// <summary>
        /// 餐食的唯一标识符 
        ///</summary>
         [SugarColumn(ColumnName="mealId"    )]
         public int? MealId { get; set; }
        /// <summary>
        /// 预定时间 
        ///</summary>
         [SugarColumn(ColumnName="orderTime"    )]
         public string OrderTime { get; set; }
        /// <summary>
        /// 说明 
        ///</summary>
         [SugarColumn(ColumnName="description"    )]
         public string Description { get; set; }
        /// <summary>
        /// 0等待制作 1正在制作 2 已出餐 3 等待配送 4已送达 
        ///</summary>
         [SugarColumn(ColumnName="state"    )]
         public int? State { get; set; }
    }
}
